home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
mac
/
allfiles
/
Moss
/
Vitra.dir
/
00014_Script_UI Rollover Change Pointer
< prev
next >
Wrap
Text File
|
1999-03-01
|
1KB
|
49 lines
property outcurs, incurs, incursSet, customImage, customMask, oldcursor
property useCustom
on translate_cursor me, setting, image, mask, custom
if custom then
set val = [ member image, member mask ]
return val
end if
return setting
end
---
on beginSprite me
set oldcursor = the cursor of sprite the spritenum of me
set val = translate_cursor( me, the incursSet of me,customImage,customMask,useCustom )
set the cursor of sprite the spriteNum of me = val
end
on endsprite me
set the cursor of sprite the spriteNum of me = oldcursor
end
on getPropertyDescriptionList
set p_list = [ ¼
#incursSet: [ #comment: "Pointer Image:", ¼
#format: #cursor, ¼
#default: 1], ¼
#useCustom: [ #comment: "Use Custom Pointer:", ¼
#format: #boolean, ¼
#default: FALSE ], ¼
#customImage: [ #comment: "Custom Image:", ¼
#format: #bitmap, ¼
#default: member 1 ], ¼
#customMask: [ #comment: "Custom Mask:", ¼
#format: #bitmap, ¼
#default: member 1 ] ¼
]
return p_list
end